#pragma once

#ifdef _USRDLL
#define SUPPORT_IMAGE	__declspec(dllexport)
#else
#define SUPPORT_IMAGE	__declspec(dllimport)
#endif

typedef struct _SUPPORT_IMAGE
{
	CPoint ptImage;					//start position
	CRect rtImageRect;
	HBITMAP hbmpImage;

//	CBitmap cbmpImage;
//	BITMAP bm;
	UINT uImageID;
} ST_BMP_INFO, *LPST_BMP_INFO;

typedef struct _SUPPORT_POS
{
	CRect rtWndPos;
	CRect rtStickTo;
	BOOL bStickToHCenter;
	BOOL bStickToVCenter;
	TCHAR tzParentWnd[MAX_PATH];
	CRect rtParentPos;
	RECT rtDiv;
	int nMode;
	DWORD dwColorBackground;
	DWORD dwColorText;
	DWORD dwColorLevel[14];
} ST_WND_POS, *LPST_WND_POS;

#define BMPINFO_APP_BACKGROUND		_T("AppBackground")
#define BMPINFO_APP_BACKGROUND_FULL	_T("AppBackground_Full")
#define BMPINFO_APP_FILEOPEN_N		_T("BmpFileOpenN")
#define BMPINFO_APP_FILEOPEN_F		_T("BmpFileOpenF")
#define BMPINFO_APP_FILEOPEN_S		_T("BmpFileOpenS")
#define BMPINFO_APP_FILEOPEN_D		_T("BmpFileOpenD")
#define BMPINFO_APP_DISKOPEN_N		_T("BmpDiskOpenN")
#define BMPINFO_APP_DISKOPEN_F		_T("BmpDiskOpenF")
#define BMPINFO_APP_DISKOPEN_S		_T("BmpDiskOpenS")
#define BMPINFO_APP_DISKOPEN_D		_T("BmpDiskOpenD")
#define BMPINFO_APP_DELETE_N		_T("BmpDeleteNormal")
#define BMPINFO_APP_DELETE_F		_T("BmpDeleteInFocus")
#define BMPINFO_APP_DELETE_S		_T("BmpDeleteSelected")
#define BMPINFO_APP_DELETE_D		_T("BmpDeleteDisabled")

#define BMPINFO_SYS_EXIT_N			_T("BmpSysExitNormal")
#define BMPINFO_SYS_EXIT_F			_T("BmpSysExitInFocus")
#define BMPINFO_SYS_EXIT_S			_T("BmpSysExitSelected")
#define BMPINFO_SYS_EXIT_D			_T("BmpSysExitDisabled")
#define BMPINFO_SYS_MAX_N			_T("BmpSysMaxNormal")
#define BMPINFO_SYS_MAX_F			_T("BmpSysMaxInFocus")
#define BMPINFO_SYS_MAX_S			_T("BmpSysMaxSelected")
#define BMPINFO_SYS_MAX_D			_T("BmpSysMaxDisabled")
#define BMPINFO_SYS_RESTORE_FROM_MAX_N			_T("BmpSysRestoreFromMaxNormal")
#define BMPINFO_SYS_RESTORE_FROM_MAX_F			_T("BmpSysRestoreFromMaxInFocus")
#define BMPINFO_SYS_RESTORE_FROM_MAX_S			_T("BmpSysRestoreFromMaxSelected")
#define BMPINFO_SYS_RESTORE_FROM_MAX_D			_T("BmpSysRestoreFromMaxDisabled")
#define BMPINFO_SYS_MIN_N			_T("BmpSysMinNormal")
#define BMPINFO_SYS_MIN_F			_T("BmpSysMinInFocus")
#define BMPINFO_SYS_MIN_S			_T("BmpSysMinSelected")
#define BMPINFO_SYS_MIN_D			_T("BmpSysMinDisabled")
#define BMPINFO_SYS_FULL_N			_T("BmpSysFullNormal")
#define BMPINFO_SYS_FULL_F			_T("BmpSysFullInFocus")
#define BMPINFO_SYS_FULL_S			_T("BmpSysFullSelected")
#define BMPINFO_SYS_FULL_D			_T("BmpSysFullDisabled")
#define BMPINFO_SYS_RESTORE_FROM_FULL_N			_T("BmpSysRestoreFromFullNormal")
#define BMPINFO_SYS_RESTORE_FROM_FULL_F			_T("BmpSysRestoreFromFullInFocus")
#define BMPINFO_SYS_RESTORE_FROM_FULL_S			_T("BmpSysRestoreFromFullSelected")
#define BMPINFO_SYS_RESTORE_FROM_FULL_D			_T("BmpSysRestoreFromFullDisabled")
#define BMPINFO_SYS_ASPECT_N			_T("BmpSysAspectNormal")
#define BMPINFO_SYS_ASPECT_F			_T("BmpSysAspectInFocus")
#define BMPINFO_SYS_ASPECT_S			_T("BmpSysAspectSelected")
#define BMPINFO_SYS_ASPECT_D			_T("BmpSysAspectDisabled")
#define BMPINFO_SYS_PANEL			_T("system menu panel")

#define BMPINFO_MENU_PRINT_N		_T("MenuPrintNormal")
#define BMPINFO_MENU_PRINT_F		_T("MenuPrintInFocus")
#define BMPINFO_MENU_PRINT_S		_T("MenuPrintSelected")
#define BMPINFO_MENU_PRINT_D		_T("MenuPrintDisabled")
#define BMPINFO_MENU_SETUP_N		_T("MenuSetupNormal")
#define BMPINFO_MENU_SETUP_F		_T("MenuSetupInFocus")
#define BMPINFO_MENU_SETUP_S		_T("MenuSetupSelected")
#define BMPINFO_MENU_SETUP_D		_T("MenuSetupDisabled")
#define BMPINFO_MENU_BACKUP_N		_T("MenuBackupNormal")
#define BMPINFO_MENU_BACKUP_F		_T("MenuBackupInFocus")
#define BMPINFO_MENU_BACKUP_S		_T("MenuBackupSelected")
#define BMPINFO_MENU_BACKUP_D		_T("MenuBackupDisabled")
#define BMPINFO_MENU_VIEWER_N		_T("MenuViewerNormal")
#define BMPINFO_MENU_VIEWER_F		_T("MenuViewerInFocus")
#define BMPINFO_MENU_VIEWER_S		_T("MenuViewerSelected")
#define BMPINFO_MENU_VIEWER_D		_T("MenuViewerDisabled")
#define BMPINFO_MENU_OPEN_N			_T("MenuOpenNormal")
#define BMPINFO_MENU_OPEN_F			_T("MenuOpenInFocus")
#define BMPINFO_MENU_OPEN_S			_T("MenuOpenSelected")
#define BMPINFO_MENU_OPEN_D			_T("MenuOpenDisabled")
#define BMPINFO_MENU_DELETE_N		_T("MenuDeleteNormal")
#define BMPINFO_MENU_DELETE_F		_T("MenuDeleteInFocus")
#define BMPINFO_MENU_DELETE_S		_T("MenuDeleteSelected")
#define BMPINFO_MENU_DELETE_D		_T("MenuDeleteDisabled")

#define BMPINFO_MENU_SPLIT_N			_T("MenuSplitNormal")
#define BMPINFO_MENU_SPLIT_F			_T("MenuSplitInFocus")
#define BMPINFO_MENU_SPLIT_S			_T("MenuSplitSelected")
#define BMPINFO_MENU_SPLIT_D			_T("MenuSplitDisabled")
#define BMPINFO_MENU_AR_N		_T("MenuARNormal")
#define BMPINFO_MENU_AR_F		_T("MenuARInFocus")
#define BMPINFO_MENU_AR_S		_T("MenuARSelected")
#define BMPINFO_MENU_AR_D		_T("MenuARDisabled")

#define BMPINFO_PLAY_FORWORD_N		_T("PlayForwardNormal")
#define BMPINFO_PLAY_FORWORD_F		_T("PlayForwardInFocus")
#define BMPINFO_PLAY_FORWORD_S		_T("PlayForwardSelected")
#define BMPINFO_PLAY_FORWORD_D		_T("PlayForwardDisabled")
#define BMPINFO_PAUSE_N				_T("PauseNormal")
#define BMPINFO_PAUSE_F				_T("PauseInFocus")
#define BMPINFO_PAUSE_S				_T("PauseSelected")
#define BMPINFO_PAUSE_D				_T("PauseDisabled")
#define BMPINFO_PLAY_BACKWORD_N		_T("PlayBackwardNormal")
#define BMPINFO_PLAY_BACKWORD_F		_T("PlayBackwardInFocus")
#define BMPINFO_PLAY_BACKWORD_S		_T("PlayBackwardSelected")
#define BMPINFO_PLAY_BACKWORD_D		_T("PlayBackwardDisabled")
#define BMPINFO_STOP_N				_T("StopNormal")
#define BMPINFO_STOP_F				_T("StopInFocus")
#define BMPINFO_STOP_S				_T("StopSelected")
#define BMPINFO_STOP_D				_T("StopDisabled")
#define BMPINFO_STEP_FORWORD_N		_T("StepForwardNormal")
#define BMPINFO_STEP_FORWORD_F		_T("StepForwardInFocus")
#define BMPINFO_STEP_FORWORD_S		_T("StepForwardSelected")
#define BMPINFO_STEP_FORWORD_D		_T("StepForwardDisabled")
#define BMPINFO_STEP_BACKWORD_N		_T("StepBackwardNormal")
#define BMPINFO_STEP_BACKWORD_F		_T("StepBackwardInFocus")
#define BMPINFO_STEP_BACKWORD_S		_T("StepBackwardSelected")
#define BMPINFO_STEP_BACKWORD_D		_T("StepBackwardDisabled")
#define BMPINFO_STEP_FORWORD_K_N		_T("StepForwardKeyframeNormal")
#define BMPINFO_STEP_FORWORD_K_F		_T("StepForwardKeyframeInFocus")
#define BMPINFO_STEP_FORWORD_K_S		_T("StepForwardKeyframeSelected")
#define BMPINFO_STEP_FORWORD_K_D		_T("StepForwardKeyframeDisabled")
#define BMPINFO_STEP_BACKWORD_K_N		_T("StepBackwardKeyframeNormal")
#define BMPINFO_STEP_BACKWORD_K_F		_T("StepBackwardKeyframeInFocus")
#define BMPINFO_STEP_BACKWORD_K_S		_T("StepBackwardKeyframeSelected")
#define BMPINFO_STEP_BACKWORD_K_D		_T("StepBackwardKeyframeDisabled")
#define BMPINFO_NEXT_FILE_N			_T("NextFileNormal")
#define BMPINFO_NEXT_FILE_F			_T("NextFileInFocus")
#define BMPINFO_NEXT_FILE_S			_T("NextFileSelected")
#define BMPINFO_NEXT_FILE_D			_T("NextFileDisabled")
#define BMPINFO_PREV_FILE_N			_T("PrevFileNormal")
#define BMPINFO_PREV_FILE_F			_T("PrevFileInFocus")
#define BMPINFO_PREV_FILE_S			_T("PrevFileSelected")
#define BMPINFO_PREV_FILE_D			_T("PrevFileDisabled")
#define BMPINFO_PLAYER_DUMMY		_T("PlayerDummy")

#define BMPINFO_PLAY_FORWORD_N_S		_T("PlayForwardNormal_s")
#define BMPINFO_PLAY_FORWORD_F_S		_T("PlayForwardInFocus_s")
#define BMPINFO_PLAY_FORWORD_S_S		_T("PlayForwardSelected_s")
#define BMPINFO_PLAY_FORWORD_D_S		_T("PlayForwardDisabled_s")
#define BMPINFO_PAUSE_N_S				_T("PauseNormal_s")
#define BMPINFO_PAUSE_F_S				_T("PauseInFocus_s")
#define BMPINFO_PAUSE_S_S				_T("PauseSelected_s")
#define BMPINFO_PAUSE_D_S				_T("PauseDisabled_s")
#define BMPINFO_PLAY_BACKWORD_N_S		_T("PlayBackwardNormal_s")
#define BMPINFO_PLAY_BACKWORD_F_S		_T("PlayBackwardInFocus_s")
#define BMPINFO_PLAY_BACKWORD_S_S		_T("PlayBackwardSelected_s")
#define BMPINFO_PLAY_BACKWORD_D_S		_T("PlayBackwardDisabled_s")
#define BMPINFO_STOP_N_S				_T("StopNormal_s")
#define BMPINFO_STOP_F_S				_T("StopInFocus_s")
#define BMPINFO_STOP_S_S				_T("StopSelected_s")
#define BMPINFO_STOP_D_S				_T("StopDisabled_s")
#define BMPINFO_STEP_FORWORD_N_S		_T("StepForwardNormal_s")
#define BMPINFO_STEP_FORWORD_F_S		_T("StepForwardInFocus_s")
#define BMPINFO_STEP_FORWORD_S_S		_T("StepForwardSelected_s")
#define BMPINFO_STEP_FORWORD_D_S		_T("StepForwardDisabled_s")
#define BMPINFO_STEP_BACKWORD_N_S		_T("StepBackwardNormal_s")
#define BMPINFO_STEP_BACKWORD_F_S		_T("StepBackwardInFocus_s")
#define BMPINFO_STEP_BACKWORD_S_S		_T("StepBackwardSelected_s")
#define BMPINFO_STEP_BACKWORD_D_S		_T("StepBackwardDisabled_s")
#define BMPINFO_NEXT_FILE_N_S			_T("NextFileNormal_s")
#define BMPINFO_NEXT_FILE_F_S			_T("NextFileInFocus_s")
#define BMPINFO_NEXT_FILE_S_S			_T("NextFileSelected_s")
#define BMPINFO_NEXT_FILE_D_S			_T("NextFileDisabled_s")
#define BMPINFO_PREV_FILE_N_S			_T("PrevFileNormal_s")
#define BMPINFO_PREV_FILE_F_S			_T("PrevFileInFocus_s")
#define BMPINFO_PREV_FILE_S_S			_T("PrevFileSelected_s")
#define BMPINFO_PREV_FILE_D_S			_T("PrevFileDisabled_s")

#define BMPINFO_PB_SPEED_BK			_T("PBSpeed_Bk")
#define BMPINFO_PB_SPEED_X1			_T("PBSpeed_X1")
#define BMPINFO_PB_SPEED_X1_2		_T("PBSpeed_X1/2")
#define BMPINFO_PB_SPEED_X1_4		_T("PBSpeed_X1/4")
#define BMPINFO_PB_SPEED_X2			_T("PBSpeed_X2")
#define BMPINFO_PB_SPEED_X4			_T("PBSpeed_X4")

#define BMPINFO_VOL_BK				_T("Volume Bk")
#define BMPINFO_VOL_SLIDER			_T("Volume Slider")
#define BMPINFO_VOL_MUTE_UNCHECKED	_T("Vol Mute Unchecked")
#define BMPINFO_VOL_MUTE_CHECHKED	_T("Vol Mute Checked")
#define BMPINFO_VOL_SLIDER_LEFT		_T("Vol Slider Left")
#define BMPINFO_VOL_SLIDER_RIGHT	_T("Vol Slider Right")
#define BMPINFO_VOL_THUMB			_T("Volume Thumb")

#define BMPINFO_SPEEDOMETER_BK		_T("Speedometer_bk")

#define BMPINFO_BAR_L_DISABLED		_T("TimeBar_Left_disabled")
#define BMPINFO_BAR_R_DISABLED		_T("TimeBar_Right_disabled")
#define BMPINFO_BAR_M_DISABLED		_T("TimeBar_Mid_disabled")
#define BMPINFO_BAR_L_ENABLED		_T("TimeBar_Left_enabled")
#define BMPINFO_BAR_R_ENABLED		_T("TimeBar_Right_enabled")
#define BMPINFO_BAR_M_ENABLED		_T("TimeBar_Mid_enabled")
#define BMPINFO_BAR_THUMB			_T("TimeBar_thumb")

#define BMPINFO_TAB_TIME_U			_T("TabTimeUnchecked")
#define BMPINFO_TAB_TIME_C			_T("TabTimeChecked")
#define BMPINFO_TAB_TIME_D			_T("TabTimeDisabled")
#define BMPINFO_TAB_EVENT_U			_T("TabEventUnchecked")
#define BMPINFO_TAB_EVENT_C			_T("TabEventChecked")
#define BMPINFO_TAB_EVENT_D			_T("TabEventDisabled")
#define BMPINFO_TAB_LOG_U			_T("TabLogUnchecked")
#define BMPINFO_TAB_LOG_C			_T("TabLogChecked")
#define BMPINFO_TAB_LOG_D			_T("TabLogDisabled")


#define BMPINFO_OPT_NORMAL_U		_T("OptNormalUnchecked")
#define BMPINFO_OPT_NORMAL_C		_T("OptNormalChecked")
#define BMPINFO_OPT_NORMAL_D		_T("OptNormalDisabled")
#define BMPINFO_OPT_EVENT_U			_T("OptEventUnchecked")
#define BMPINFO_OPT_EVENT_C			_T("OptEventChecked")
#define BMPINFO_OPT_EVENT_D			_T("OptEventDisabled")
#define BMPINFO_OPT_PARKING_U		_T("OptParkingUnchecked")
#define BMPINFO_OPT_PARKING_C		_T("OptParkingChecked")
#define BMPINFO_OPT_PARKING_D		_T("OptParkingDisabled")
#define BMPINFO_OPT_MANUAL_U		_T("OptManualUnchecked")
#define BMPINFO_OPT_MANUAL_C		_T("OptManualChecked")
#define BMPINFO_OPT_MANUAL_D		_T("OptManualDisabled")

#define BMPINFO_OPT_BACKGROUND		_T("OptBackground")

#define BMPINFO_GSEN_GRAPH			_T("GSenGraph_bk")
#define BMPINFO_GSEN_INDI			_T("GsenGraph_indicate")
#define BMPINFO_GSEN_COORDI			_T("GSen_Coordi")
#define BMPINFO_GSEN_GRAPH_START	_T("GSenGraph_start")
#define BMPINFO_GSEN_GRAPH_MID		_T("GSenGraph_mid")
#define BMPINFO_GSEN_GRAPH_END		_T("GSenGraph_end")
#define BMPINFO_GSEN_GRAPH_START2	_T("GSenGraph_start2")
#define BMPINFO_GSEN_GRAPH_MID2		_T("GSenGraph_mid2")

#define BMPINFO_COMMON_RADIO_U		_T("RadioUnchecked")
#define BMPINFO_COMMON_RADIO_C		_T("RadioChecked")
#define BMPINFO_COMMON_RADIO_D		_T("RadioDisabled")

#define BMPINFO_GPS_NORMAL_N			_T("GPSNormal_normal")
#define BMPINFO_GPS_NORMAL_F			_T("GPSNormal_InFocus")
#define BMPINFO_GPS_NORMAL_S			_T("GPSNormal_Selected")
#define BMPINFO_GPS_NORMAL_D			_T("GPSNormal_Disabled")
#define BMPINFO_GPS_HIDE_N				_T("GPSHide_normal")
#define BMPINFO_GPS_HIDE_F				_T("GPSHide_InFocus")
#define BMPINFO_GPS_HIDE_S				_T("GPSHide_Selected")
#define BMPINFO_GPS_HIDE_D				_T("GPSHide_Disabled")
#define BMPINFO_GPS_LARGE_N				_T("GPSLarge_normal")
#define BMPINFO_GPS_LARGE_F				_T("GPSLarge_InFocus")
#define BMPINFO_GPS_LARGE_S				_T("GPSLarge_Selected")
#define BMPINFO_GPS_LARGE_D				_T("GPSLarge_Disabled")

#define BMPINFO_SCRL_VERT_TOP			_T("Scroll_v_top")
#define BMPINFO_SCRL_VERT_BOTTOM		_T("Scroll_v_bottom")
#define BMPINFO_SCRL_VERT_UPARROW		_T("Scroll_v_uparrow")
#define BMPINFO_SCRL_VERT_DOWNARROW		_T("Scroll_v_downarrow")
#define BMPINFO_SCRL_VERT_SPAN			_T("Scroll_v_span")
#define BMPINFO_SCRL_VERT_THUMB			_T("Scroll_v_thumb")

#define BMPINFO_SCRL_HORZ_LEFTARROW		_T("Scroll_h_leftarrow")
#define BMPINFO_SCRL_HORZ_RIGHTARROW	_T("Scroll_h_rightarrow")
#define BMPINFO_SCRL_HORZ_SPAN			_T("Scroll_h_span")
#define BMPINFO_SCRL_HORZ_THUMB			_T("Scrool_h_thumb")

#define BMPINFO_LIST_V_BORDER			_T("List_v_border")
#define BMPINFO_LIST_H_BORDER			_T("List_h_border")
#define BMPINFO_LIST_HEADER_START		_T("List_header_start")
#define BMPINFO_LIST_HEADER_END			_T("List_header_end")
#define BMPINFO_LIST_HEADER_SPAN		_T("List_header_span")
#define BMPINFO_LIST_CHECKBOX			_T("List_checkbox")
#define BMPINFO_LIST_CHECKBOX_S			_T("List_checkbox_s")

#define BMPINFO_PB_SPEED_SLOWER_N		_T("PBSpeed_slower_normal")
#define BMPINFO_PB_SPEED_SLOWER_F		_T("PBSpeed_slower_infocus")
#define BMPINFO_PB_SPEED_SLOWER_S		_T("PBSpeed_slower_selected")
#define BMPINFO_PB_SPEED_SLOWER_D		_T("PBSpeed_slower_disabled")
#define BMPINFO_PB_SPEED_FASTER_N		_T("PBSpeed_faster_normal")
#define BMPINFO_PB_SPEED_FASTER_F		_T("PBSpeed_faster_infocus")
#define BMPINFO_PB_SPEED_FASTER_S		_T("PBSpeed_faster_selected")
#define BMPINFO_PB_SPEED_FASTER_D		_T("PBSpeed_faster_disabledd")

#define BMPINFO_LIST_BACKGROUND			_T("ListBackground")
#define BMPINFO_MAP_BACKGROUND			_T("MapBackground")
#define BMPINFO_GSEN_GRAPH_BACKGROUND	_T("GSenGraphBackground")
#define BMPINFO_GSEN_BACKGROUND			_T("GSenBackground")
#define BMPINFO_GPS_BACKGROUND			_T("GPSBackground")
#define BMPINFO_GPS_BACKGROUND_NOPLAY	_T("GPSBackground_noplay")

#define BMPINFO_LOGO					_T("Logo")
#define BMPINFO_LOGO_REAR				_T("Logo_Rear")

#define BMPINFO_SETUP_MAIN				_T("BmpSetupMain")
#define BMPINFO_TITLEBAR_LOGO			_T("TitleBarLogo")
#define BMPINFO_SETUP_EXIT_N			_T("BmpSetupExitNormal")
#define BMPINFO_SETUP_EXIT_F			_T("BmpSetupExitInFocus")
#define BMPINFO_SETUP_EXIT_S			_T("BmpSetupExitSelected")
#define BMPINFO_SETUP_EXIT_D			_T("BmpSetupExitDisabled")

#define BMPINFO_LISTBTN_UNCHECKED		_T("BmpListBtnUnchecked")
#define BMPINFO_LISTBTN_CHECKED			_T("BmpListBtnChecked")
#define BMPINFO_MAPBTN_UNCHECKED		_T("BmpMapBtnUnchecked")
#define BMPINFO_MAPBTN_CHECKED			_T("BmpMapBtnChecked")


#define WININFO_APP_MAINFRMAE		_T("MainFrame")
#define WININFO_APP_BACKGROUND		_T("WndBackground")
#define WININFO_APP_ROUNDRGN		_T("WndRoundRgn")
#define WININFO_APP_SYSTEMMENU		_T("WndSystemMenu")
#define WININFO_BTN_FILEOPEN		_T("WndBtnFileOpen")
#define WININFO_BTN_DISKOPEN		_T("WndBtnDiskOpen")
#define WININFO_BTN_DELETE			_T("WndBtnDelete")
#define WININFO_TAB					_T("WndTab")
#define WININFO_TAB_TIME			_T("WndTabTime")
#define WININFO_TAB_EVENT			_T("WndTabEvent")
#define WININFO_TAB_LOG				_T("WndTabLog")
#define WININFO_OPT					_T("WndOption")
#define WININFO_OPT_BG				_T("WndOptBG")
//#define WININFO_TIME_LIST			_T("WndTimeList")
//#define WININFO_EVENT_LIST			_T("WndEventList")
#define WININFO_LIST_NORMAL			_T("WndListNormal")
#define WININFO_LIST_LARGE			_T("WndListLarge")
#define WININFO_LIST_HIDE			_T("WndListHide")

#define WININFO_MAP_NORMAL			_T("WndMapNormal")
#define WININFO_MAP_LARGE			_T("WndMapLarge")
#define WININFO_MAP_HIDE			_T("WndMapHide")
#define WININFO_MAP_VIEW			_T("WndMapView")
#define WININFO_MAP_BUTTON			_T("WndMapButton")

#define WININFO_GPS_NORMAL			_T("WndGpsNormal")
#define WININFO_GPS_LARGE			_T("WndGpsLarge")
#define WININFO_GPS_VIEW			_T("WndGpsView")
#define WININFO_GPS_TEXTBOX			_T("WndGpsTextBox")
#define WININFO_GPS_BTN_LARGE		_T("WndGpsBtnLarge")
#define WININFO_GPS_BTN_NORMAL		_T("WndGpsBtnNormal")
#define WININFO_GPS_BTN_HIDE		_T("WndGpsBtnHide")

#define WININFO_PLAYBACK_CTRL		_T("WndPlaybackCtrl")
#define WININFO_PB_PLAY_FWD			_T("WndPB_PlayForward")
#define WININFO_PB_PLAY_BWD			_T("WndPB_PlayBackward")
#define WININFO_PB_STEP_FWD			_T("WndPB_StepForward")
#define WININFO_PB_STEP_BWD			_T("WndPB_StepBackward")
#define WININFO_PB_PAUSE			_T("WndPB_Pause")
#define WININFO_PB_STOP				_T("WndPB_Stop")
#define WININFO_PB_NEXT_FILE		_T("WndPB_NextFile")
#define WININFO_PB_PREV_FILE		_T("WndPB_PrevFile")
#define WININFO_PB_STEP_FWD_K		_T("WndPB_StepForwardKeyframe")
#define WININFO_PB_STEP_BWD_K		_T("WndPB_StepBackwardKeyframe")
#define WININFO_PB_DUMMY0			_T("WndPB_dummy0")
#define WININFO_PB_DUMMY1			_T("WndPB_dummy1")


#define WININFO_PLAYBACK_CTRL_S		_T("WndPlaybackCtrl_s")
#define WININFO_PB_PLAY_FWD_S			_T("WndPB_PlayForward_s")
#define WININFO_PB_PLAY_BWD_S			_T("WndPB_PlayBackward_s")
#define WININFO_PB_STEP_FWD_S			_T("WndPB_StepForward_s")
#define WININFO_PB_STEP_BWD_S			_T("WndPB_StepBackward_s")
#define WININFO_PB_PAUSE_S			_T("WndPB_Pause_s")
#define WININFO_PB_STOP_S				_T("WndPB_Stop_s")
#define WININFO_PB_NEXT_FILE_S		_T("WndPB_NextFile_s")
#define WININFO_PB_PREV_FILE_S		_T("WndPB_PrevFile_s")

#define WININFO_MENU_BUTTON			_T("WndMenuButton")
#define WININFO_MENU_PRINT			_T("WndMenu_print")
#define WININFO_MENU_BACKUP			_T("WndMenu_backup")
#define WININFO_MENU_SETUP			_T("WndMenu_setup")
#define WININFO_MENU_INFO			_T("WndMenu_info")
#define WININFO_MENU_OPEN			_T("WndMenu_open")
#define WININFO_MENU_DELETE			_T("WndMenu_delete")
#define WININFO_MENU_SPLIT			_T("WndMenu_split")
#define WININFO_MENU_AR			_T("WndMenu_ar")


#define WININFO_PBSPEED				_T("WndPBSpeed")
#define WININFO_PBSPEED_BK			_T("WndPBSpeed_bk")
#define WININFO_PBSPEED_STAT		_T("WndPBSpeed_state")
#define WININFO_PBSPEED_SLOWER		_T("WndPBSpeed_slower")
#define WININFO_PBSPEED_FASTER		_T("WndPBSpeed_faster")

#define WININFO_VOLUME				_T("WndVolume")
#define WININFO_VOLUME_SLIDER		_T("WndVolumeSlider")
#define WININFO_VOLUME_MUTE			_T("WndVolumeMute")
#define WININFO_VOLUME_THUMB		_T("WndVolumeThumb")

#define WININFO_SPEEDOMETER			_T("WndSpeedometer")

#define WININFO_LIST_TIME			_T("WndListTime")
#define WININFO_LIST_TIME_DATE		_T("WndListTime_date")
#define WININFO_LIST_TIME_HOUR		_T("WndListTime_hour")
#define WININFO_LIST_TIME_FILE		_T("WndListTime_file")
#define WININFO_LIST_EVENT			_T("WndListEvent")
#define WININFO_LIST_EVENT_FILE		_T("WndListEvent_file")
#define WININFO_LIST_LOG			_T("WndLog")
#define WININFO_LIST_BUTTON			_T("WndListButton")

#define WININFO_GSENSOR_GRAPH		_T("WndGSensorGraph")
#define WININFO_GSENSOR_GRAPH_VIEW	_T("WndGSensorGraphView")
#define WININFO_GSENSOR				_T("WndGSensor")
#define WININFO_GSENSOR_VIEW		_T("WndGSensorView")
#define WININFO_GSENSOR_COORDI		_T("WndGSensorCoordi")
#define WININFO_TIME_BAR			_T("WndTimeBar")
#define WININFO_TITLE_BAR			_T("WndTitleBar")

#define WININFO_MAIN_DISPLAY		_T("WndMainDisplay")
#define WININFO_FULL_DISPLAY		_T("WndFullDisplay")
#define WININFO_LIST_HEADER			_T("WndListHeader")

#define WININFO_SETUP_MAIN			_T("WndSetupMain")
#define WININFO_SETUP_EXIT			_T("WndSetupExit")
#define WININFO_SETUP_PANEL			_T("WndSetupPanel")
#define WININFO_TITLEBAR_LOGO		_T("WndTitleBarLogo")


class SUPPORT_IMAGE CSupportImage
{
public:
	CSupportImage(void);
	virtual ~CSupportImage(void);

private:
	CString m_strImageRootPath;
	CString m_strImageInfoFileName;
	CString m_strProfilePath;

	BOOL GetWndRect(CString strWndName, CRect *rtPos);
public:
	BOOL SetImageRootPath(CString strImageRootPath, CString strImageInfoFileName);
	BOOL CreateBmpInfo(CString strImageName, LPST_BMP_INFO lpBmpInfo);
	void ReleaseBmpInfo(LPST_BMP_INFO lpBmpInfo);
	BOOL GetWndInfo(CString strWndName, LPST_WND_POS lpWndPos);
};
